package com.wbsxch.example.springsecurity.mapper;

import com.wbsxch.example.springsecurity.entity.Permission;
import com.wbsxch.example.springsecurity.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * @author 快乐在角落里
 * @since 2019-03-05
 */
public interface UserMapper extends BaseMapper<User> {

    List<Permission> selectPermissionByUserId(Integer userId);
}
